package com.nsqt.biz.service.impl;

import com.nsqt.biz.dao.KeywordsDao;
import com.nsqt.biz.domain.KeywordsDO;
import com.nsqt.biz.service.KeywordsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class KeywordsServiceImpl implements KeywordsService {
    @Autowired
    private KeywordsDao keywordsDao;

    @Override
    public KeywordsDO get(Integer id) {
        return keywordsDao.get(id);
    }

    @Override
    public List<KeywordsDO> list(Map<String, Object> map) {
        return keywordsDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return keywordsDao.count(map);
    }

    @Override
    public int save(KeywordsDO keywords) {
        return keywordsDao.save(keywords);
    }

    @Override
    public int update(KeywordsDO keywords) {
        return keywordsDao.update(keywords);
    }

    @Override
    public int remove(Integer id) {
        return keywordsDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return keywordsDao.batchRemove(ids);
    }

}
